package com.xiaozhi.service;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.xiaozhi.entity.WxOrder;

public interface WxOrderServer {
    /*
     * 新增订单
    */
    public int add(WxOrder order);

    /*
     * 更新订单字段
    */
    public int update(WxOrder order);

    /*
     * 通过orderId 查找订单信息
     */
    public WxOrder selectOrderByorderId(String orderId);

    /*
     * 根据userId 查询订单
     */
    public List<WxOrder> selectOrderByuserId(String userId);
}
